package com.darker.proxy;

import java.lang.reflect.Method;

/**
 * @auther lj
 * @date 2018/5/3 16:07
 * @email lmwtuedu@163.com
 */
public class MyAdvice implements Advice {
    @Override
    public void afterMethod(Method method) {
        System.out.println("方法调用之后");
    }

    @Override
    public void beforeMethod(Method method) {
        System.out.println("方法调用之前");
    }
}
